home *** CD-ROM | disk | FTP | other *** search
/ Java 1996 August / Java - Summer 1996.iso / kaffe-0.2 / lib / native / java.lang / java.lang.Throwable.c < prev    next >
C/C++ Source or Header  |  1996-02-11  |  848b  |  36 lines

  1. /*
  2.  * java.lang.Throwable.c
  3.  *
  4.  * Copyright (c) 1996 Systems Architecture Research Centre,
  5.  *           City University, London, UK.
  6.  *
  7.  * See the file "license.terms" for information on usage and redistribution
  8.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  9.  *
  10.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  11.  */
  12.  
  13. #include <stdio.h>
  14. #include <assert.h>
  15. #include <native.h>
  16. #include "../java.io/java.io.PrintStream.h"
  17. #include "java.lang.Throwable.h"
  18.  
  19. /*
  20.  * Fill in stack trace information - don't know what thought.
  21.  */
  22. struct Hjava_lang_Throwable*
  23. java_lang_Throwable_fillInStackTrace(struct Hjava_lang_Throwable* o)
  24. {
  25.     unhand(o)->backtrace = 0;
  26.     return (o);
  27. }
  28.  
  29. /*
  30.  * Dump the stack trace to the given stream.
  31.  */
  32. void
  33. java_lang_Throwable_printStackTrace0(struct Hjava_lang_Throwable* o, struct Hjava_io_PrintStream* p)
  34. {
  35. }
  36.